package demo.security.core.props;

import demo.security.core.enums.LoginType;
import lombok.Data;

/**
 * BrowserProperties
 *
 * @author lidj
 * @date 2018-01-11
 */

@Data
public class BrowserProperties {

    /**
     * 登陆页面Url
     */
    private String loginPage = "/demo_login.html";

    /**
     * 注册页面
     */
    private String signUpUrl = "/demo_signUp.html";

    /**
     * 默认登陆后（无论成功与失败）返回json
     */
    private LoginType loginType = LoginType.JSON;

    /**
     * 记住我 个人信息 保留时间
     */
    private int rememberMeSeconds = 3600;
}
